
package com.eltonkent.ui.wrappers;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.eltonkent.R;

public class FolderListWrapper
{
	private final View base;
	private ImageView folderImage;
	// private ImageView lockImage;
	private TextView listLine1;
	private TextView listLine2;

	public FolderListWrapper(View base)
	{

		this.base = base;

	}

	public ImageView getFolderImage()
	{
		if(folderImage == null)
		{
			folderImage = (ImageView) base.findViewById(R.id.foldericon);
		}
		return folderImage;
	}

	public TextView getListLine1()
	{
		if(listLine1 == null)
		{
			listLine1 = (TextView) base.findViewById(R.id.listLine1);
		}
		return listLine1;
	}

	public TextView getListLine2()
	{
		if(listLine2 == null)
		{
			listLine2 = (TextView) base.findViewById(R.id.listLine2);
		}
		return listLine2;
	}

	// public ImageView getLockImage()
	// {
	// if(lockImage == null)
	// {
	// lockImage = (ImageView) base.findViewById(R.id.folderLocked);
	// }
	// return lockImage;
	// }
}
